<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<div>
<input type="hidden" id="totalPage"  value="${requestScope.pm.totalPage }"/>
<input type="hidden" id="currentPage"  value="${requestScope.pm.currentPage }"/>
<input type="hidden"  id="totalConunt" value="<s:property value="listNc.size()"/>"/>
<table>

<tbody>
 <s:iterator value="listNc" status="sta">
  <tr>
 	<s:if test="turnnumber == 1 ">
		<s:if test="islast == 1">
    		<td><s:property value="#sta.index+1"/><input type="hidden" value="<s:property value="id"/>"/> </td>
    		<!-- <td style="padding-left: <s:property value="(levels-1) * 10" />px;"><s:property value="nameEn"/></td> -->
    		<td style="padding-left: <s:property value="(levels-1) * 10" />px;"><s:property value="nameCn"/></td>
    	    <td><font color="#DDDDDD">上移</font></td>
		    <td><font color="#DDDDDD">下移</font></td>
		</s:if>
		<s:else>
    		<td><s:property value="#sta.index+1"/><input type="hidden" value="<s:property value="id"/>"/> </td>
    		<!-- <td style="padding-left: <s:property value="(levels-1) * 10" />px;"><s:property value="nameEn"/></td> -->
    		<td style="padding-left: <s:property value="(levels-1) * 10" />px;"><s:property value="nameCn"/></td>
    		<td><font color="#DDDDDD">上移</font></td>
		    <td><a id="<s:property value="id"/>" name="<s:property value="islast"/>" class="down">下移</a></td>
	    </s:else>
	</s:if>
	<s:else>
		<s:if test="islast == 1">
    		<td><s:property value="#sta.index+1"/><input type="hidden" value="<s:property value="id"/>"/> </td>
    		<!-- <td style="padding-left: <s:property value="(levels-1) * 10" />px;"><s:property value="nameEn"/></td> -->
    		<td style="padding-left: <s:property value="(levels-1) * 10" />px;"><s:property value="nameCn"/></td>
    		<td><a id="<s:property value="id"/>" name="<s:property value="islast"/>" class="up">上移</a></td>
		    <td><font color="#DDDDDD">下移</font></td>
		</s:if>
		<s:else>
    		<td><s:property value="#sta.index+1"/><input type="hidden" value="<s:property value="id"/>"/> </td>
    		<!-- <td style="padding-left: <s:property value="(levels-1) * 10" />px;"><s:property value="nameEn"/></td> -->
    		<td style="padding-left: <s:property value="(levels-1) * 10" />px;"><s:property value="nameCn"/></td>
    		<td><a id="<s:property value="id"/>" class="up" name="<s:property value="islast"/>">上移</a></td>
		    <td><a id="<s:property value="id"/>" class="down" name="<s:property value="islast"/>">下移</a></td>
	    </s:else>
	</s:else>
 
  </tr>
  </s:iterator>
  </tbody>
</table>

</div>